package com.ling.dataStructures.head;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;


/**
 * @author: ling007
 * @date: 2025/2/7 16:53
 * @description: 堆
 */

public class Heap <E> implements IHeap<E>{

//    private Logger logger = LoggerFactory.getLogger(queue.PriorityQueue.class);

    private static final int DEFAULT_INITIAL_CAPACITY = 11;

    transient Object[] queue;

    private int size = 0;

    public Heap() {
        queue = new Object[DEFAULT_INITIAL_CAPACITY];
    }

    @Override
    public boolean add(E e) {
        return false;
    }

    @Override
    public boolean offer(E e) {
        return false;
    }

    @Override
    public E poll() {
        return null;
    }

    @Override
    public E peek() {
        return null;
    }
}
